package com.example.userproducer.model;

import lombok.Data;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * @author 杰哥
 * @Title: User
 * @ProjectName user-producer
 * @Description: TODO
 * @date 2019/9/1115:12
 */
@Data
@Entity
@Table(name = "user")
public class User {
    @Id
    Integer id;
    String username;
    String password;
}
